home *** CD-ROM | disk | FTP | other *** search
- MyLib.lib/exit MyLib.lib/exit
-
- NAME
- exit - perform normal program termination
-
- SYNOPSIS
- #include <stdlib.h>
-
- void exit(int ReturnCode);
-
- FUNCTION
- exit() terminates a program. The following actions are performed:
- - streams opened via fopen() are closed
- - memory allocated via malloc() is freed
- - dos.library and utility.library are closed
- - the workbench message is replied, if necessary
-
- NOTE
- EXIT_SUCCESS and EXIT_FAILURE are defined as RETURN_OK and
- RETURN_FAIL, resp.
-
- SEE ALSO
- AmigaMain
-
- STANDARDS COMPLIANCE
- ANSI C3.159-1989, ISO 9899-1990
-